//警告框样式
.warning-dialog {
    .ivu-modal-content {
        background: #fa6063;
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.18);
        color: white;
        border-radius: 0;
        .ivu-modal-header {
            text-align: center;
            border-bottom: 0;
            line-height: 22px;
            height: 40px;
            font-size: 14px;
            i {
                font-size: 18px;
                margin-right: 8px;
                vertical-align: bottom;
            }
        }
        .ivu-modal-body {
            line-height: 1.8;
            height: 160px;
            padding: 5px 20px 0;
            text-indent: 10px; //font-size: 14px;
        }
        .ivu-modal-footer {
            border: none;
            padding: 0;
            font-size: 0px;
            button {
                display: inline-block;
                text-align: center;
                height: 40px;
                margin: 0;
                font-size: 12px;
                border: none;
                border-radius: 0;
                &:focus {
                    box-shadow: none;
                }
                &:first-child {
                    width: 50%;
                    background: #F8F6F6;
                    color: black;
                }
                &:last-child {
                    background: #c12e31;
                    width: 50%;
                    color: white;
                }
            }
        }
    }
}

//确认框样式
.confirm-dialog {
    .ivu-modal-content {
        background: white;
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.18);
        color: black;
        border-radius: 0;
        .ivu-modal-header {
            text-align: center;
            border-bottom: 0;
            line-height: 22px;
            height: 40px;
            font-size: 14px;
            i {
                font-size: 18px;
                margin-right: 8px;
                vertical-align: bottom;
            }
        }
        .ivu-modal-body {
            line-height: 24px;
            min-height: 60px;
            padding: 0px;
            color: #666666;
            .portal-content {
                height: 420px;
                background: #F6F8FB;
                overflow-y: auto;
                &::-webkit-scrollbar {
                    width: 6px;
                    height: 4px;
                }
                &::-webkit-scrollbar-thumb {
                    background: #cccccc;
                    height: 20px;
                }
                &::-webkit-scrollbar-track {
                    background: #e6e6e6;
                }
            }
        }
        .ivu-modal-footer {
            border: none;
            padding: 0;
            font-size: 0px;
            button {
                display: inline-block;
                text-align: center;
                height: 40px;
                margin: 0;
                font-size: 12px;
                border: none;
                border-radius: 0;
                &:focus {
                    box-shadow: none;
                }
                &:first-child {
                    width: 50%;
                    background: #F8F6F6;
                    color: black;
                }
                &.long:first-child {
                    width: 100%;
                    background: #4285F4;
                    font-size: 14px;
                }
                &.center:first-child {
                    width: 120px;
                    background: #4285F4;
                    font-size: 14px;
                    padding: 10px;
                    text-align: center;
                }
                &:last-child {
                    background: #4285F4;
                    width: 50%;
                    color: white;
                }
            }
        }
    }
    &.closeable .ivu-modal-content .ivu-modal-close {
        background: #D4DCEA;
        border-radius: 100%;
        width: 24px;
        height: 24px;
        i {
            left: 6px;
            top: -2px;
            color: white;
        }
    }
}